<h2>Mostrando petición <?php echo $model->id; ?></h2>

<div class="actionBar">
[<?php echo CHtml::link('Listado peticiones',array('list','page'=>$_REQUEST['return_page'])); ?>]
[<?php echo CHtml::link('Nueva petición',array('create')); ?>]
[<?php echo CHtml::link('Modificar',array('update','id'=>$model->id, 'return_page'=>$_REQUEST['return_page'])); ?>]
[<?php echo CHtml::linkButton('Eliminar',array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure?')); ?>
]
[<?php echo CHtml::link('Administrar peticiones',array('admin')); ?>]
</div>

<table class="dataGrid">
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('name')); ?>
</th>
    <td><?php echo CHtml::encode($model->name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('age')); ?>
</th>
    <td><?php echo CHtml::encode($model->age); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('profession')); ?>
</th>
    <td><?php echo CHtml::encode($model->profession); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('phone')); ?>
</th>
    <td><?php echo CHtml::encode($model->phone); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('email')); ?>
</th>
    <td><?php echo CHtml::encode($model->email); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('zone')); ?>
</th>
    <td><?php echo CHtml::encode($model->zone); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('city')); ?>
</th>
    <td><?php echo CHtml::encode($model->city); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('state')); ?>
</th>
    <td><?php echo CHtml::encode($model->stateName); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('country')); ?>
</th>
    <td><?php echo CHtml::encode($model->country); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('address')); ?>
</th>
    <td><?php echo CHtml::encode($model->address); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('sent')); ?>
</th>
    <td><?php echo CHtml::encode($model->hasTShirt); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('found')); ?>
</th>
    <td><?php echo CHtml::encode($model->foundJob); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('donation')); ?>
</th>
    <td><?php echo CHtml::encode($model->donation); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('authorId')); ?>
</th>
    <td><?php echo CHtml::encode($model->authorName); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('comment')); ?>
</th>
    <td><?php echo CHtml::encode($model->comment); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('createTime')); ?>
</th>
    <td><?php echo CHtml::encode(Yii::app()->dateFormatter->formatDateTime($model->createTime, 'long','short')); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('updateTime')); ?>
</th>
    <td><?php echo CHtml::encode(Yii::app()->dateFormatter->formatDateTime($model->updateTime, 'long','short')); ?>
</td>
</tr>
</table>
